<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
//礼券使用界面
Route::get('orderusepage', function () {
    return view('orderUsePage');
});

//验证卡劵，密码及图形验证码
Route::post('validate',"Auth\RegisterController@validator");


//具体兑换填写信息
/*Route::get('orderdetail', function () {
    return view('order_detail');
});*/
Route::post('quote',"OrdersController@card_quo");

Route::post('submitMessage',"OrdersController@message_process");

//省市区三级联动
Route::get('ssq', "OrdersController@ssq");

Route::get('getcity', "OrdersController@getCity");

Route::get('getarea', "OrdersController@getArea");


//快递查询
Route::get('queryExpress',function (){
    return view('query_express');
});
//查询功能
Route::post('inquire','LogisticsController@inquire');



